home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-06-03 | 4.3 KB | 177 lines | [TEXT/CWIE] |
- #ifdef __PRIVATE__
- //#
- //# File: SOMPart.idl
- //#
- //# Contains: Interface for AMSample class
- //#
- //# Copyright: (C) 1993-1996 by Apple Computer, Inc., all rights reserved.
- //#
- #else
- //# Copyright: (C) 1993-1996 by Apple Computer, Inc., all rights reserved.
- #endif
-
- #ifndef SOMPART_IDL
- #define SOMPART_IDL
-
- #ifndef FWENVDEF_IDL
- #include "FWEnvDef.idl"
- #endif
-
- #ifndef _PART_
- #include "Part.idl"
- #endif
-
- //==============================================================================
- // Constants
- //==============================================================================
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- //==============================================================================
- // Classes used by this interface
- //==============================================================================
-
- interface ODCanvas;
- interface ODFacet;
- interface ODFrame;
- interface ODLink;
- interface ODLinkSource;
- interface ODShape;
- interface ODStorageUnit;
- interface ODStorageUnitView;
- interface ODTransform;
- interface ODDragItemIterator;
- interface ODSession;
- interface ODTypeList;
- interface ODObjectSpec;
- interface ODEmbeddedFramesIterator;
-
- typedef somToken FW_CPart;
-
- //==============================================================================
- // AMSample
- //==============================================================================
-
- module BowersDev
- {
- interface AMSample : ODPart
- {
- //-------------------------------------------------------------------------
- // New protocol
- //-------------------------------------------------------------------------
- FW_CPart* GetFrameworkPart();
- FW_CPart* NewFrameworkPart(in ODPart partWrapper);
-
- #ifdef __SOMIDL__
- implementation
- {
- functionprefix = AMSample;
-
- passthru C_xh =
- "class FW_CPart;";
-
- override:
- somInit,
- somUninit,
- Release,
- ReleaseAll,
- Externalize,
- CloneInto,
- HasExtension,
- AcquireExtension,
- ReleaseExtension,
- Purge,
- InitPart,
- InitPartFromStorage,
- DisplayFrameAdded,
- DisplayFrameRemoved,
- DisplayFrameConnected,
- DisplayFrameClosed,
- AttachSourceFrame,
- FrameShapeChanged,
- ViewTypeChanged,
- PresentationChanged,
- SequenceChanged,
- LinkStatusChanged,
- ContainingPartPropertiesUpdated,
- ReadPartInfo,
- WritePartInfo,
- #if FW_OPENDOC_VERSION >= FW_OPENDOC_DR2
- ClonePartInfo,
- #endif
- Open,
- Draw,
- FacetAdded,
- FacetRemoved,
- GeometryChanged,
- HighlightChanged,
- CanvasChanged,
- CanvasUpdated,
- GetPrintResolution,
- BeginRelinquishFocus,
- CommitRelinquishFocus,
- AbortRelinquishFocus,
- FocusAcquired,
- FocusLost,
- ExternalizeKinds,
- ChangeKind,
- HandleEvent,
- AdjustMenus,
- UndoAction,
- RedoAction,
- DisposeActionState,
- WriteActionState,
- ReadActionState,
- FulfillPromise,
- DropCompleted,
- DragEnter,
- DragWithin,
- DragLeave,
- Drop,
- CreateLink,
- RevealLink,
- LinkUpdated,
- EmbeddedFrameUpdated,
- #if FW_OPENDOC_VERSION >= FW_OPENDOC_DR2
- EditInLinkAttempted,
- #endif
- RequestEmbeddedFrame,
- RemoveEmbeddedFrame,
- RequestFrameShape,
- UsedShapeChanged,
- AdjustBorderShape,
- AcquireContainingPartProperties,
- RevealFrame,
- EmbeddedFrameSpec,
- #if FW_OPENDOC_VERSION < FW_OPENDOC_DR2
- MouseEnter,
- MouseWithin,
- MouseLeave,
- HandleEventInEmbedded,
- #endif
- CreateEmbeddedFramesIterator;
-
- releaseorder:
- GetFrameworkPart,
- NewFrameworkPart,
-
- majorversion = 1; minorversion = 0;
-
- //# Put all forward class declarations and #includes for types that
- //# are private to the implementation. These ( probably ) are non-som objects that will
- //# not be passed THRU some ever ( as I understand it ).
- passthru C_xih = "class FW_CPart;";
-
- // instance variables
- FW_CPart* fFrameworkPart;
- };
- #endif
- };
-
- };
-
-
- #endif
-